package cn.xiaoa.teicode.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.xiaoa.teicode.service.dto.userMessage;

@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("user_message")
    public userMessage getUserMessage() {
        userMessage userMessage = new userMessage();
        userMessage.setToken("<PASSWORD>");
        userMessage.setUserName("xiaoa");
        userMessage.setUserEmail("<EMAIL>");
        userMessage.setUserPhone("13812345678");
        return userMessage;
    }
}
